﻿using System;
using System.Collections.Generic;
using System.Text;
using A2Z.BusinessObjects;
using DataLayer.ObjectMapping;
using KYO.DAL;
using ObjectPersistence;
using BusinessLayerHelper;


namespace A2Z.BusinessService
{
    
    public class ProjectSlideService
    {
        ProjectSlideAssembler slideService = new ProjectSlideAssembler();

        public PersistentList<ProjectSlide> GetImageSlides(List<int> numbers)
        {
            PersistentList<ProjectSlide> listSlide = new PersistentList<ProjectSlide>();
            foreach (int id in numbers)
            {
                listSlide.Add(slideService.ReadSingleByKey(id));
            }
            return listSlide;
        }
    }
}
